<template>
    <el-container>
        <el-aside :width="width" style="overflow:hidden;">
            <CommonAside></CommonAside>
        </el-aside>
        <el-container>
            <el-header>
                <Header></Header>
            </el-header>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
</template>

<script>
import Header from '@/components/Header.vue';
import CommonAside from '@/components/CommonAside.vue';
export default {
    name: "Main",
    data() {
        return {
            width: ''
        }
    },
    components: {
        CommonAside,
        Header
    }, computed: {
        key() {
            return this.$route.path + Math.random()
        }
    }


}
</script>



<style></style>